<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no">
		<title>数组扩展</title>
		<script type="text/javascript">
			//fill(num),使用num填充数组元素
			let arr = new Array(10)
			console.dir(arr)
			//arr.fill(1)
			//console.log(arr)
		</script>
	</head>
	<body>
		<div id="app">
			<!-- todo -->
		</div>
	</body>
</html>